<script type="text/javascript" src="${base}/scripts/tool/pinyin.js"></script>
<script type="text/javascript" src="${base}/scripts/page/ck_content.js"></script>

<form id="form_ck" action="${base}/organ/ck/ck" method="post">
    <input name="ck.id" type="hidden" value="${(ck.id)!''}"/>
    <table style="width:100%" class="tb tab-t">
        <col width="80px"/>
        <col width=""/>
        <col width="80px"/>
        <col width=""/>
        <tr>
            <th>编&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</th>
            <td><input name="ck.bh" type="text" class="easyui-validatebox input-text" style="background-color:#F8F8FF;"
                       readonly="readonly"
                       validType="remote['${base}/organ/ck/ajax_validate?ckId=${(ck.id)!}',{'validateField':'bh'},'仓库编号不能重复！']"
                       value="${(ck.bh)!''}"/></td>
            <th style="color:#f45212;">仓库名称：</th>
            <td><input name="ck.mc" type="text" class="easyui-validatebox input-text"
                       validType="remote['${base}/organ/ck/ajax_validate?ckId=${(ck.id)!}',{'validateField':'mc'},'仓库名称不能重复！']"
                       required="true" value="${(ck.mc)!''}"/></td>
        </tr>
        <tr>
            <th style="color:#f45212;">所属公司：</th>
            <td><input id="ck_ssjg" name="ck.ssgsjg.id" class="easyui-combotree input-text" type="text"
                       data-options="url:'${base}/organ/gsjg/gsjg_tree?type=1',panelHeight:'200',lines:'true'"
                       required="true" value="${(ck.ssgsjg.id)!''}"/></td>
            <th>助&nbsp;记&nbsp;&nbsp;码：</th>
            <td><input name="ck.zjm" type="text" class="easyui-validatebox input-text"
                       value="${(ck.zjm)!''}"/></td>
        </tr>
        <tr>
            <th>联&nbsp;系&nbsp;&nbsp;人：</th>
            <td>
                <input name="ck.lxr" type="text" class="easyui-validatebox input-text"
                       value="${(ck.lxr)!''}"/>
            </td>
            <th>联系电话：</th>
            <td>
                <input name="ck.lxdh" type="text" class="input-text"
                       data-options="validType:['length[0,15]']" value="${(ck.lxdh)!''}"/>
            </td>
        </tr>
        <tr>
            <th>传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;真：</th>
            <td>
                <input name="ck.cz" type="text" class="input-text"
                       data-options="validType:['length[0,15]']" value="${(ck.cz)!''}"/>
            </td>
            <th>地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：</th>
            <td>
                <input name="ck.dz" type="text" class="easyui-validatebox input-text"
                       validType="maxLength[50]" value="${(ck.dz)!''}"/>
            </td>
        </tr>
        <tr>
            <th>仓库级别：</th>
            <td>
                <input type="hidden" id="ckjb" value="${(ck.ckjb)!}"/>
                <select id="ck_ckjb" name="ck.ckjb" class="easyui-combobox input-text">
                    <option value="1">经营仓库</option>
                    <option value="2">保供仓库</option>
                    <option value="3">三方仓库</option>
                </select>
            </td>
        </tr>
    </table>
</form>

<#--隐藏域-->
<div id="ck_lxrList" style="display: none">
<#if (ck.lxrList)??>
    <#list ck.lxrList as lxr>
        <#if (lxr.id)??>
            <input type="hidden" name="lxrId" value="${(lxr.id)!}"/>
        </#if>
    </#list>
</#if>
</div>